//
// Created on 2024/9/9.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef OHOS_DEMO_LOCAL_STREAM_H
#define OHOS_DEMO_LOCAL_STREAM_H

#include "api/media_stream_interface.h"

namespace ohosrtc {
class LocalStream {
  public:
    LocalStream(webrtc::scoped_refptr<webrtc::MediaStreamInterface> media_stream);
    webrtc::scoped_refptr<webrtc::MediaStreamInterface> MediaStream();
  
  private:
    webrtc::scoped_refptr<webrtc::MediaStreamInterface> media_stream_;
};
} // namespace ohos::rtc

#endif // OHOS_DEMO_LOCAL_STREAM_H
